package com.ruoyi.shopping.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收货地址对象 jy_mall_address
 *
 * @author scx
 * @date 2022-06-10
 */
@ApiModel
public class MallAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 是否默认地址 */
    @Excel(name = "是否默认地址")
    @ApiModelProperty(value = "是否默认地址")
    private String defaultFlag;

    /** 收件人姓名 */
    @Excel(name = "收件人姓名")
    @ApiModelProperty(value = "收件人姓名")
    private String recipientName;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String phone;

    /** 省名称 */
    @Excel(name = "省名称")
    @ApiModelProperty(value = "省名称")
    private String provinceName;

    /** 市名称 */
    @Excel(name = "市名称")
    @ApiModelProperty(value = "市名称")
    private String cityName;

    /** 区名称 */
    @Excel(name = "区名称")
    @ApiModelProperty(value = "区名称")
    private String areaName;

    /** 街道名称 */
    @Excel(name = "街道名称")
    @ApiModelProperty(value = "街道名称")
    private String streetName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty(value = "详细地址")
    private String addressName;

    /** 省编码 */
    @Excel(name = "省编码")
    @ApiModelProperty(value = "省编码")
    private String provinceCode;

    /** 市编码 */
    @Excel(name = "市编码")
    @ApiModelProperty(value = "市编码")
    private String cityCode;

    /** 区编码 */
    @Excel(name = "区编码")
    @ApiModelProperty(value = "区编码")
    private String areaCode;

    /** adcode */
    @Excel(name = "adcode")
    @ApiModelProperty(value = "adcode")
    private String adcode;

    /** 维度 */
    @Excel(name = "维度")
    @ApiModelProperty(value = "维度")
    private String latitude;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private String longitude;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDefaultFlag(String defaultFlag)
    {
        this.defaultFlag = defaultFlag;
    }

    public String getDefaultFlag()
    {
        return defaultFlag;
    }
    public void setRecipientName(String recipientName)
    {
        this.recipientName = recipientName;
    }

    public String getRecipientName()
    {
        return recipientName;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setStreetName(String streetName)
    {
        this.streetName = streetName;
    }

    public String getStreetName()
    {
        return streetName;
    }
    public void setAddressName(String addressName)
    {
        this.addressName = addressName;
    }

    public String getAddressName()
    {
        return addressName;
    }
    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }
    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }
    public void setAdcode(String adcode)
    {
        this.adcode = adcode;
    }

    public String getAdcode()
    {
        return adcode;
    }
    public void setLatitude(String latitude)
    {
        this.latitude = latitude;
    }

    public String getLatitude()
    {
        return latitude;
    }
    public void setLongitude(String longitude)
    {
        this.longitude = longitude;
    }

    public String getLongitude()
    {
        return longitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("defaultFlag", getDefaultFlag())
            .append("recipientName", getRecipientName())
            .append("phone", getPhone())
            .append("provinceName", getProvinceName())
            .append("cityName", getCityName())
            .append("areaName", getAreaName())
            .append("streetName", getStreetName())
            .append("addressName", getAddressName())
            .append("provinceCode", getProvinceCode())
            .append("cityCode", getCityCode())
            .append("areaCode", getAreaCode())
            .append("adcode", getAdcode())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
